﻿using Blog.System.Application.Contracts.Blog;
using Blog.System.TooklKits.Base;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Blog.System.Blog
{
    public interface IBlogService
    {
        Task<ServiceResult<string>> InsertPostAsnyc(PostDto dto);
        Task<ServiceResult> DeletePostAsync(int id);
        Task<ServiceResult<string>> UpdatePostAsync(int id, PostDto dto);
        Task<ServiceResult<PostDto>> GetPostAsync(int id);
    }
}
